import Vue from 'vue'
import Vuex from 'vuex'

// modules
import app from './modules/app'
import menuManage from './modules/menu-manage'
import userManage from './modules/user-manage'
import roleManage from './modules/role-manage'
import enumManage from './modules/enum-manage'
import systemSet from './modules/system-set'
import tagInfo from './modules/tag-info'
import message from './modules/message'
import companyManage from './modules/company-manage'
import positionManage from './modules/position-manage'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    app,
    menuManage,
    userManage,
    roleManage,
    enumManage,
    systemSet,
    tagInfo,
    message,
    companyManage,
    positionManage
  }
})